package service

import (
	"common/database/config"
	"user_srv/internal/models/dao"
)

func List() []*dao.User {
	var user []*dao.User
	config.DB.Model(&dao.User{}).Find(&user)
	return user
}
